package GenericsTest;

public class lihuaCat extends Cat{
    public lihuaCat() {
    }

    public lihuaCat(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat(){
        System.out.println("一只"+getAge()+"的"+getName()+"的"+"在吃鱼");

    }
}
